<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>操作成功跳转</title>
    <script type="text/javascript">
        window.setTimeout("<?php echo $url?>",<?php echo $time?>*1000);
    </script>
</head>
<body>
<h2>操作成功</h2>
<?php echo $msg?>
<span id="_time"><?php echo $time?></span>秒针后将进行 <a href="javascript:<?php echo $url?>">跳转</a>
也可以<a href="__ROOT__">返回首页</a>
<script type="text/javascript">
    var time = document.getElementById('_time').innerHTML;
    function revTime() {
        time--;
        if (time > 0) {
            document.getElementById('_time').innerHTML = time;
        }
    }
    setInterval("revTime()", 1000);
</script>
</body>
</html>